package com.zcy.gift.exception;

/**
 * 用来定义响应码的枚举类
 */
public enum ResponseCode {

    RESPONSE_CODE_200(200,"操作成功!"),
    RESPONSE_CODE_40010(40010,"必填参数未填写!"),
    RESPONSE_CODE_40011(40011,"两次密码不一致,请检查后重新提交!"),
    RESPONSE_CODE_40012(40012,"店铺名称已存在,请重新输入!"),
    RESPONSE_CODE_40013(40013,"老铁，你不选中数据，臣妾上架不了啊...."),
    RESPONSE_CODE_40014(40014,"老铁，你不选中数据，臣妾下架不了啊...."),
    RESPONSE_CODE_40015(40015,"老铁，请选择已下架且已审核通过的数据!"),
    RESPONSE_CODE_40016(40016,"图片验证码已过期,请重新获取!"),
    RESPONSE_CODE_40017(40017,"图片验证码输入错误,请重新输入!"),
    RESPONSE_CODE_40018(40018,"当前手机号已注册,请直接登录!"),
    RESPONSE_CODE_40019(40019,"请不要频繁发送验证码,请一分钟以后再次发送!"),
    RESPONSE_CODE_40020(40020,"不能修改已上架的车辆！请先下架"),
    RESPONSE_CODE_40021(40021,"短信验证码无效，请重新获取"),
    RESPONSE_CODE_40022(40022,"短信验证码错误"),
    RESPONSE_CODE_40023(40023,"两次密码不一致，请检查输入"),
    RESPONSE_CODE_40024(40024,"邮箱已注册，请直接登录"),
    RESPONSE_CODE_40025(40025,"用户名已被使用"),
    RESPONSE_CODE_40026(40026,"用户名或账号错误"),
    RESPONSE_CODE_40027(40027,"手机号为空"),
    RESPONSE_CODE_40028(40028,"手机验证码为空"),
    RESPONSE_CODE_40029(40029,"手机号未注册"),
    RESPONSE_CODE_40030(40030,"手机号已注册"),
    RESPONSE_CODE_40031(40031,"请选择套餐！"),
    RESPONSE_CODE_40032(40032,"用户不存在或密码错误！"),
    RESPONSE_CODE_40033(40033,"商品信息不存在！"),
    RESPONSE_CODE_500(500,"网络繁忙,请稍后重试!"),
    ;

    private Integer code;
    private String message;

    ResponseCode() {
    }

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
